package com.test.qpbgboot.show.mapper;

import com.test.qpbgboot.show.pojo.dto.TagQuery;
import com.test.qpbgboot.show.pojo.entity.Tag;
import com.test.qpbgboot.show.pojo.vo.TagVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TagMapper {
    List<TagVO> selectTagVOByTagQuery(TagQuery tagQuery);
    List<TagVO> selectTagVOByTagIdList(@Param("tagIdList") List<Long> tagIdList);
    Integer selectCountByIdList(@Param("tagIdList") List<Long> tagIdList);
    void insert(Tag tag);
    void update(Tag tag);
    void deleteById(Long id);
}
